Substring in a django template

34

{{ obj.name|slice:"0:3" }}

Comments

Submit
0 Comments